package cn.exrick.xboot.modules.workovertime.mapper;

import cn.exrick.xboot.modules.workovertime.VO.HkOvertimeByPageVo;
import cn.exrick.xboot.modules.workovertime.VO.HkOvertimeInfoNameAndUserNickVo;
import cn.exrick.xboot.modules.workovertime.VO.HkOvertimeSummarizingByMonthVo;
import cn.exrick.xboot.modules.workovertime.entity.HkOvertimeDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hml
 * @since 2023-08-31
 */
@Mapper
public interface HkOvertimeDetailMapper extends BaseMapper<HkOvertimeDetail> {
    void updateOvertimeDetailByProcessInstanceId(HkOvertimeDetail hkOvertimeDetail);
    List<HkOvertimeInfoNameAndUserNickVo> getHkOvertimeInfoAndUserNickNameByProIds(HkOvertimeByPageVo hkOvertimeByPageVo);
    Integer getHkOvertimeInfoAndUserNickNameByCount(HkOvertimeByPageVo hkOvertimeByPageVo);
    List<HkOvertimeInfoNameAndUserNickVo> getHkOvertimeInfoAndUserNickNameByOutput(HkOvertimeByPageVo hkOvertimeByPageVo);
    //汇总时间
    List<HkOvertimeInfoNameAndUserNickVo> getHkOvertimeSummarizingAndUserNickName(HkOvertimeByPageVo hkOvertimeByPageVo);
    List<HkOvertimeSummarizingByMonthVo> getHkOvertimeSummarizingByMonth(HkOvertimeByPageVo hkOvertimeByPageVo);
}
